package com.yunfeisoft.base.service.impl;

import com.yunfeisoft.base.dao.inter.WorkflowStepUserDao;
import com.yunfeisoft.base.model.WorkflowStepUser;
import com.yunfeisoft.base.service.inter.WorkflowStepUserService;
import com.yunfeisoft.common.base.BaseServiceImpl;
import com.yunfeisoft.common.utils.Page;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * ClassName: WorkflowStepUserServiceImpl
 * Description: 用户-步骤service实现
 * Author: Jackie liu
 * Date: 2020-01-08
 */
@Service("workflowStepUserService")
public class WorkflowStepUserServiceImpl extends BaseServiceImpl<WorkflowStepUser, String, WorkflowStepUserDao> implements WorkflowStepUserService {

    @Override
    public Page<WorkflowStepUser> queryPage(Map<String, Object> params) {
        return getDao().queryPage(params);
    }

    @Override
    public int removeByWorkflowDefineId(String workflowDefineId) {
        return getDao().removeByWorkflowDefineId(workflowDefineId);
    }

    @Override
    public List<WorkflowStepUser> queryByWorkflowStepId(String workflowStepId) {
        return getDao().queryByWorkflowStepId(workflowStepId);
    }

}